using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using AutoUnzip.Core;
using AutoUnzip.Interfaces;

namespace AutoUnzip.Design
{
    public class FileServiceDesign : IFileService
    {
        public IEnumerable<FileInfo> FindZipFiles(string directory, string filter)
        {
            return new[]
                       {
                           new FileInfo("Test1"),
                           new FileInfo("Test2"),
                       };
        }

        public double GetFolderSize(DirectoryInfo directory)
        {
            return 2342344;
        }

        public Task DeleteFilesAsync(IEnumerable<string> files)
        {
            return Task.Delay(10);
        }

        public Task MoveDirectoyAsync(string sourcePath, string destinationPath, IProgress<long> progress)
        {
            return Task.Delay(10);
        }
    }
}